<body bgcolor=ffffff>

<table width="100%">
  <tr>
    <td width=10>&nbsp;</td>

    <td>
      <table width="100%">
        <tr>
          <td>
            <h4>
            <?lsmb company ?>
        <br><?lsmb address ?>
            </h4>
          </td>

          <th><img src=ledger-smb.png border=0 width=84 height=58></th>

          <td align=right>
            <h4>
            Tel: <?lsmb tel ?>
        <br>Fax: <?lsmb fax ?>
            </h4>
          </td>
        </tr>

        <tr>
          <th colspan=3>
	    <hr noshade><br>
            <h4>T I M E &nbsp;&nbsp; C A R D</h4>
          </th>
        </tr>
      </table>
    </td>
  </tr>

  <tr>
    <td>&nbsp;</td>

    <td>
      <table width=100% cellspacing=0 cellpadding=0>
        <tr valign=top>
	  <td>
	    <table>
	      <tr>
		<th align=left>Employee</th>
		<td><?lsmb employee ?></td>
	      </tr>
	      <tr>
		<th align=left>ID</th>
		<td><?lsmb employee_id ?></td>
	      </tr>
	    </table>
	  </td>
   
	  <td align=right>
	    <table>
	      <tr>
		<th align=left nowrap>Card ID</th>
		<td><?lsmb id ?></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Date Worked</th>
		<td><?lsmb transdate ?></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Time In</th>
		<td><?lsmb checkedin ?></td>
	      </tr>
              <tr>
                <th align=left>Time Out</th>
		<td><?lsmb checkedout ?></td>
	      </tr>
	      <tr>
		<th align=left nowrap>Hours Worked</th>
		<td><?lsmb qty ?></td>
	      </tr>
	    </table>
	  </td>
        </tr>
      </table>
    </td>
  </tr>

  <tr height=5></tr>
  
  <tr>
    <td>&nbsp;</td>
  
    <td>
      <table width="100%">
        <tr valign=bottom>
	  <td>
	    <table>
	      <tr valign=top>
	        <th align=left>Project/Job #</th>
		<td><?lsmb projectnumber ?></td>
	      </tr>
	      <tr>
	        <th align=left>Description</th>
		<td><?lsmb projectdescription ?></td>
	      </tr>
	      <tr valign=top>
	        <th align=left>Labor/Service Code</th>
		<td><?lsmb partnumber ?></td>
	      </tr>
	      <tr>
	        <th align=left>Description</th>
		<td><?lsmb description ?></td>
	      </tr>
	    </table>
	  </td>
	  <td align=right>
	    <table>
	      <tr>
	        <th align=right>Unit Rate</th>
		<td><?lsmb sellprice ?></td>
	      </tr>
	      <tr>
		<th align=right>Total</th>
		<td><?lsmb total ?></td>
	      </tr>
	    </table>
	  </td>
	</tr>
      </table>
    </td>
  </tr>

<?lsmb if notes ?>
  <tr height=5></tr>
  
  <tr>
    <td>&nbsp;</td>

    <td>
      <?lsmb notes ?>
    </td>
  </tr>
<?lsmb end notes ?>

</table>

</body>
</html>

